package com.waypolice.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CmsOriginaltextExample implements Serializable{
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CmsOriginaltextExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable{
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOtIdIsNull() {
            addCriterion("OT_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtIdIsNotNull() {
            addCriterion("OT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtIdEqualTo(Integer value) {
            addCriterion("OT_ID =", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdNotEqualTo(Integer value) {
            addCriterion("OT_ID <>", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdGreaterThan(Integer value) {
            addCriterion("OT_ID >", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("OT_ID >=", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdLessThan(Integer value) {
            addCriterion("OT_ID <", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdLessThanOrEqualTo(Integer value) {
            addCriterion("OT_ID <=", value, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdIn(List<Integer> values) {
            addCriterion("OT_ID in", values, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdNotIn(List<Integer> values) {
            addCriterion("OT_ID not in", values, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdBetween(Integer value1, Integer value2) {
            addCriterion("OT_ID between", value1, value2, "otId");
            return (Criteria) this;
        }

        public Criteria andOtIdNotBetween(Integer value1, Integer value2) {
            addCriterion("OT_ID not between", value1, value2, "otId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdIsNull() {
            addCriterion("OT_TB_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtTbIdIsNotNull() {
            addCriterion("OT_TB_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtTbIdEqualTo(Long value) {
            addCriterion("OT_TB_ID =", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdNotEqualTo(Long value) {
            addCriterion("OT_TB_ID <>", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdGreaterThan(Long value) {
            addCriterion("OT_TB_ID >", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OT_TB_ID >=", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdLessThan(Long value) {
            addCriterion("OT_TB_ID <", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdLessThanOrEqualTo(Long value) {
            addCriterion("OT_TB_ID <=", value, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdIn(List<Long> values) {
            addCriterion("OT_TB_ID in", values, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdNotIn(List<Long> values) {
            addCriterion("OT_TB_ID not in", values, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdBetween(Long value1, Long value2) {
            addCriterion("OT_TB_ID between", value1, value2, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtTbIdNotBetween(Long value1, Long value2) {
            addCriterion("OT_TB_ID not between", value1, value2, "otTbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdIsNull() {
            addCriterion("OT_MB_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtMbIdIsNotNull() {
            addCriterion("OT_MB_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtMbIdEqualTo(Long value) {
            addCriterion("OT_MB_ID =", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdNotEqualTo(Long value) {
            addCriterion("OT_MB_ID <>", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdGreaterThan(Long value) {
            addCriterion("OT_MB_ID >", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OT_MB_ID >=", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdLessThan(Long value) {
            addCriterion("OT_MB_ID <", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdLessThanOrEqualTo(Long value) {
            addCriterion("OT_MB_ID <=", value, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdIn(List<Long> values) {
            addCriterion("OT_MB_ID in", values, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdNotIn(List<Long> values) {
            addCriterion("OT_MB_ID not in", values, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdBetween(Long value1, Long value2) {
            addCriterion("OT_MB_ID between", value1, value2, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtMbIdNotBetween(Long value1, Long value2) {
            addCriterion("OT_MB_ID not between", value1, value2, "otMbId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdIsNull() {
            addCriterion("OT_ITEM_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtItemIdIsNotNull() {
            addCriterion("OT_ITEM_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtItemIdEqualTo(Long value) {
            addCriterion("OT_ITEM_ID =", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdNotEqualTo(Long value) {
            addCriterion("OT_ITEM_ID <>", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdGreaterThan(Long value) {
            addCriterion("OT_ITEM_ID >", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OT_ITEM_ID >=", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdLessThan(Long value) {
            addCriterion("OT_ITEM_ID <", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdLessThanOrEqualTo(Long value) {
            addCriterion("OT_ITEM_ID <=", value, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdIn(List<Long> values) {
            addCriterion("OT_ITEM_ID in", values, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdNotIn(List<Long> values) {
            addCriterion("OT_ITEM_ID not in", values, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdBetween(Long value1, Long value2) {
            addCriterion("OT_ITEM_ID between", value1, value2, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtItemIdNotBetween(Long value1, Long value2) {
            addCriterion("OT_ITEM_ID not between", value1, value2, "otItemId");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenIsNull() {
            addCriterion("OT_ARCHIVE_MEN is null");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenIsNotNull() {
            addCriterion("OT_ARCHIVE_MEN is not null");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenEqualTo(String value) {
            addCriterion("OT_ARCHIVE_MEN =", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenNotEqualTo(String value) {
            addCriterion("OT_ARCHIVE_MEN <>", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenGreaterThan(String value) {
            addCriterion("OT_ARCHIVE_MEN >", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenGreaterThanOrEqualTo(String value) {
            addCriterion("OT_ARCHIVE_MEN >=", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenLessThan(String value) {
            addCriterion("OT_ARCHIVE_MEN <", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenLessThanOrEqualTo(String value) {
            addCriterion("OT_ARCHIVE_MEN <=", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenLike(String value) {
            addCriterion("OT_ARCHIVE_MEN like", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenNotLike(String value) {
            addCriterion("OT_ARCHIVE_MEN not like", value, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenIn(List<String> values) {
            addCriterion("OT_ARCHIVE_MEN in", values, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenNotIn(List<String> values) {
            addCriterion("OT_ARCHIVE_MEN not in", values, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenBetween(String value1, String value2) {
            addCriterion("OT_ARCHIVE_MEN between", value1, value2, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtArchiveMenNotBetween(String value1, String value2) {
            addCriterion("OT_ARCHIVE_MEN not between", value1, value2, "otArchiveMen");
            return (Criteria) this;
        }

        public Criteria andOtUrlIsNull() {
            addCriterion("OT_URL is null");
            return (Criteria) this;
        }

        public Criteria andOtUrlIsNotNull() {
            addCriterion("OT_URL is not null");
            return (Criteria) this;
        }

        public Criteria andOtUrlEqualTo(String value) {
            addCriterion("OT_URL =", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlNotEqualTo(String value) {
            addCriterion("OT_URL <>", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlGreaterThan(String value) {
            addCriterion("OT_URL >", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlGreaterThanOrEqualTo(String value) {
            addCriterion("OT_URL >=", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlLessThan(String value) {
            addCriterion("OT_URL <", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlLessThanOrEqualTo(String value) {
            addCriterion("OT_URL <=", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlLike(String value) {
            addCriterion("OT_URL like", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlNotLike(String value) {
            addCriterion("OT_URL not like", value, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlIn(List<String> values) {
            addCriterion("OT_URL in", values, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlNotIn(List<String> values) {
            addCriterion("OT_URL not in", values, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlBetween(String value1, String value2) {
            addCriterion("OT_URL between", value1, value2, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtUrlNotBetween(String value1, String value2) {
            addCriterion("OT_URL not between", value1, value2, "otUrl");
            return (Criteria) this;
        }

        public Criteria andOtNameIsNull() {
            addCriterion("OT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andOtNameIsNotNull() {
            addCriterion("OT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andOtNameEqualTo(String value) {
            addCriterion("OT_NAME =", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameNotEqualTo(String value) {
            addCriterion("OT_NAME <>", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameGreaterThan(String value) {
            addCriterion("OT_NAME >", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameGreaterThanOrEqualTo(String value) {
            addCriterion("OT_NAME >=", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameLessThan(String value) {
            addCriterion("OT_NAME <", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameLessThanOrEqualTo(String value) {
            addCriterion("OT_NAME <=", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameLike(String value) {
            addCriterion("OT_NAME like", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameNotLike(String value) {
            addCriterion("OT_NAME not like", value, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameIn(List<String> values) {
            addCriterion("OT_NAME in", values, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameNotIn(List<String> values) {
            addCriterion("OT_NAME not in", values, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameBetween(String value1, String value2) {
            addCriterion("OT_NAME between", value1, value2, "otName");
            return (Criteria) this;
        }

        public Criteria andOtNameNotBetween(String value1, String value2) {
            addCriterion("OT_NAME not between", value1, value2, "otName");
            return (Criteria) this;
        }

        public Criteria andOtAuthorIsNull() {
            addCriterion("OT_AUTHOR is null");
            return (Criteria) this;
        }

        public Criteria andOtAuthorIsNotNull() {
            addCriterion("OT_AUTHOR is not null");
            return (Criteria) this;
        }

        public Criteria andOtAuthorEqualTo(String value) {
            addCriterion("OT_AUTHOR =", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorNotEqualTo(String value) {
            addCriterion("OT_AUTHOR <>", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorGreaterThan(String value) {
            addCriterion("OT_AUTHOR >", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("OT_AUTHOR >=", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorLessThan(String value) {
            addCriterion("OT_AUTHOR <", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorLessThanOrEqualTo(String value) {
            addCriterion("OT_AUTHOR <=", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorLike(String value) {
            addCriterion("OT_AUTHOR like", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorNotLike(String value) {
            addCriterion("OT_AUTHOR not like", value, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorIn(List<String> values) {
            addCriterion("OT_AUTHOR in", values, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorNotIn(List<String> values) {
            addCriterion("OT_AUTHOR not in", values, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorBetween(String value1, String value2) {
            addCriterion("OT_AUTHOR between", value1, value2, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtAuthorNotBetween(String value1, String value2) {
            addCriterion("OT_AUTHOR not between", value1, value2, "otAuthor");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumIsNull() {
            addCriterion("OT_VERSION_NUM is null");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumIsNotNull() {
            addCriterion("OT_VERSION_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumEqualTo(String value) {
            addCriterion("OT_VERSION_NUM =", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumNotEqualTo(String value) {
            addCriterion("OT_VERSION_NUM <>", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumGreaterThan(String value) {
            addCriterion("OT_VERSION_NUM >", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumGreaterThanOrEqualTo(String value) {
            addCriterion("OT_VERSION_NUM >=", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumLessThan(String value) {
            addCriterion("OT_VERSION_NUM <", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumLessThanOrEqualTo(String value) {
            addCriterion("OT_VERSION_NUM <=", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumLike(String value) {
            addCriterion("OT_VERSION_NUM like", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumNotLike(String value) {
            addCriterion("OT_VERSION_NUM not like", value, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumIn(List<String> values) {
            addCriterion("OT_VERSION_NUM in", values, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumNotIn(List<String> values) {
            addCriterion("OT_VERSION_NUM not in", values, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumBetween(String value1, String value2) {
            addCriterion("OT_VERSION_NUM between", value1, value2, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtVersionNumNotBetween(String value1, String value2) {
            addCriterion("OT_VERSION_NUM not between", value1, value2, "otVersionNum");
            return (Criteria) this;
        }

        public Criteria andOtDesIsNull() {
            addCriterion("OT_DES is null");
            return (Criteria) this;
        }

        public Criteria andOtDesIsNotNull() {
            addCriterion("OT_DES is not null");
            return (Criteria) this;
        }

        public Criteria andOtDesEqualTo(String value) {
            addCriterion("OT_DES =", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesNotEqualTo(String value) {
            addCriterion("OT_DES <>", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesGreaterThan(String value) {
            addCriterion("OT_DES >", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesGreaterThanOrEqualTo(String value) {
            addCriterion("OT_DES >=", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesLessThan(String value) {
            addCriterion("OT_DES <", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesLessThanOrEqualTo(String value) {
            addCriterion("OT_DES <=", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesLike(String value) {
            addCriterion("OT_DES like", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesNotLike(String value) {
            addCriterion("OT_DES not like", value, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesIn(List<String> values) {
            addCriterion("OT_DES in", values, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesNotIn(List<String> values) {
            addCriterion("OT_DES not in", values, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesBetween(String value1, String value2) {
            addCriterion("OT_DES between", value1, value2, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtDesNotBetween(String value1, String value2) {
            addCriterion("OT_DES not between", value1, value2, "otDes");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateIsNull() {
            addCriterion("OT_CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateIsNotNull() {
            addCriterion("OT_CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateEqualTo(Date value) {
            addCriterion("OT_CREATE_DATE =", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateNotEqualTo(Date value) {
            addCriterion("OT_CREATE_DATE <>", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateGreaterThan(Date value) {
            addCriterion("OT_CREATE_DATE >", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("OT_CREATE_DATE >=", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateLessThan(Date value) {
            addCriterion("OT_CREATE_DATE <", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("OT_CREATE_DATE <=", value, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateIn(List<Date> values) {
            addCriterion("OT_CREATE_DATE in", values, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateNotIn(List<Date> values) {
            addCriterion("OT_CREATE_DATE not in", values, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateBetween(Date value1, Date value2) {
            addCriterion("OT_CREATE_DATE between", value1, value2, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("OT_CREATE_DATE not between", value1, value2, "otCreateDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateIsNull() {
            addCriterion("OT_EDIT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andOtEditDateIsNotNull() {
            addCriterion("OT_EDIT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andOtEditDateEqualTo(Date value) {
            addCriterion("OT_EDIT_DATE =", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateNotEqualTo(Date value) {
            addCriterion("OT_EDIT_DATE <>", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateGreaterThan(Date value) {
            addCriterion("OT_EDIT_DATE >", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateGreaterThanOrEqualTo(Date value) {
            addCriterion("OT_EDIT_DATE >=", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateLessThan(Date value) {
            addCriterion("OT_EDIT_DATE <", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateLessThanOrEqualTo(Date value) {
            addCriterion("OT_EDIT_DATE <=", value, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateIn(List<Date> values) {
            addCriterion("OT_EDIT_DATE in", values, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateNotIn(List<Date> values) {
            addCriterion("OT_EDIT_DATE not in", values, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateBetween(Date value1, Date value2) {
            addCriterion("OT_EDIT_DATE between", value1, value2, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtEditDateNotBetween(Date value1, Date value2) {
            addCriterion("OT_EDIT_DATE not between", value1, value2, "otEditDate");
            return (Criteria) this;
        }

        public Criteria andOtStrOneIsNull() {
            addCriterion("OT_STR_ONE is null");
            return (Criteria) this;
        }

        public Criteria andOtStrOneIsNotNull() {
            addCriterion("OT_STR_ONE is not null");
            return (Criteria) this;
        }

        public Criteria andOtStrOneEqualTo(String value) {
            addCriterion("OT_STR_ONE =", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneNotEqualTo(String value) {
            addCriterion("OT_STR_ONE <>", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneGreaterThan(String value) {
            addCriterion("OT_STR_ONE >", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneGreaterThanOrEqualTo(String value) {
            addCriterion("OT_STR_ONE >=", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneLessThan(String value) {
            addCriterion("OT_STR_ONE <", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneLessThanOrEqualTo(String value) {
            addCriterion("OT_STR_ONE <=", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneLike(String value) {
            addCriterion("OT_STR_ONE like", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneNotLike(String value) {
            addCriterion("OT_STR_ONE not like", value, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneIn(List<String> values) {
            addCriterion("OT_STR_ONE in", values, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneNotIn(List<String> values) {
            addCriterion("OT_STR_ONE not in", values, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneBetween(String value1, String value2) {
            addCriterion("OT_STR_ONE between", value1, value2, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrOneNotBetween(String value1, String value2) {
            addCriterion("OT_STR_ONE not between", value1, value2, "otStrOne");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoIsNull() {
            addCriterion("OT_STR_TWO is null");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoIsNotNull() {
            addCriterion("OT_STR_TWO is not null");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoEqualTo(Integer value) {
            addCriterion("OT_STR_TWO =", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoNotEqualTo(Integer value) {
            addCriterion("OT_STR_TWO <>", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoGreaterThan(Integer value) {
            addCriterion("OT_STR_TWO >", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoGreaterThanOrEqualTo(Integer value) {
            addCriterion("OT_STR_TWO >=", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoLessThan(Integer value) {
            addCriterion("OT_STR_TWO <", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoLessThanOrEqualTo(Integer value) {
            addCriterion("OT_STR_TWO <=", value, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoIn(List<Integer> values) {
            addCriterion("OT_STR_TWO in", values, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoNotIn(List<Integer> values) {
            addCriterion("OT_STR_TWO not in", values, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoBetween(Integer value1, Integer value2) {
            addCriterion("OT_STR_TWO between", value1, value2, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrTwoNotBetween(Integer value1, Integer value2) {
            addCriterion("OT_STR_TWO not between", value1, value2, "otStrTwo");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeIsNull() {
            addCriterion("OT_STR_THREE is null");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeIsNotNull() {
            addCriterion("OT_STR_THREE is not null");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeEqualTo(String value) {
            addCriterion("OT_STR_THREE =", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeNotEqualTo(String value) {
            addCriterion("OT_STR_THREE <>", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeGreaterThan(String value) {
            addCriterion("OT_STR_THREE >", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeGreaterThanOrEqualTo(String value) {
            addCriterion("OT_STR_THREE >=", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeLessThan(String value) {
            addCriterion("OT_STR_THREE <", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeLessThanOrEqualTo(String value) {
            addCriterion("OT_STR_THREE <=", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeLike(String value) {
            addCriterion("OT_STR_THREE like", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeNotLike(String value) {
            addCriterion("OT_STR_THREE not like", value, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeIn(List<String> values) {
            addCriterion("OT_STR_THREE in", values, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeNotIn(List<String> values) {
            addCriterion("OT_STR_THREE not in", values, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeBetween(String value1, String value2) {
            addCriterion("OT_STR_THREE between", value1, value2, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrThreeNotBetween(String value1, String value2) {
            addCriterion("OT_STR_THREE not between", value1, value2, "otStrThree");
            return (Criteria) this;
        }

        public Criteria andOtStrFourIsNull() {
            addCriterion("OT_STR_FOUR is null");
            return (Criteria) this;
        }

        public Criteria andOtStrFourIsNotNull() {
            addCriterion("OT_STR_FOUR is not null");
            return (Criteria) this;
        }

        public Criteria andOtStrFourEqualTo(String value) {
            addCriterion("OT_STR_FOUR =", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourNotEqualTo(String value) {
            addCriterion("OT_STR_FOUR <>", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourGreaterThan(String value) {
            addCriterion("OT_STR_FOUR >", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourGreaterThanOrEqualTo(String value) {
            addCriterion("OT_STR_FOUR >=", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourLessThan(String value) {
            addCriterion("OT_STR_FOUR <", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourLessThanOrEqualTo(String value) {
            addCriterion("OT_STR_FOUR <=", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourLike(String value) {
            addCriterion("OT_STR_FOUR like", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourNotLike(String value) {
            addCriterion("OT_STR_FOUR not like", value, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourIn(List<String> values) {
            addCriterion("OT_STR_FOUR in", values, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourNotIn(List<String> values) {
            addCriterion("OT_STR_FOUR not in", values, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourBetween(String value1, String value2) {
            addCriterion("OT_STR_FOUR between", value1, value2, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFourNotBetween(String value1, String value2) {
            addCriterion("OT_STR_FOUR not between", value1, value2, "otStrFour");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveIsNull() {
            addCriterion("OT_STR_FIVE is null");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveIsNotNull() {
            addCriterion("OT_STR_FIVE is not null");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveEqualTo(String value) {
            addCriterion("OT_STR_FIVE =", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveNotEqualTo(String value) {
            addCriterion("OT_STR_FIVE <>", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveGreaterThan(String value) {
            addCriterion("OT_STR_FIVE >", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveGreaterThanOrEqualTo(String value) {
            addCriterion("OT_STR_FIVE >=", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveLessThan(String value) {
            addCriterion("OT_STR_FIVE <", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveLessThanOrEqualTo(String value) {
            addCriterion("OT_STR_FIVE <=", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveLike(String value) {
            addCriterion("OT_STR_FIVE like", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveNotLike(String value) {
            addCriterion("OT_STR_FIVE not like", value, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveIn(List<String> values) {
            addCriterion("OT_STR_FIVE in", values, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveNotIn(List<String> values) {
            addCriterion("OT_STR_FIVE not in", values, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveBetween(String value1, String value2) {
            addCriterion("OT_STR_FIVE between", value1, value2, "otStrFive");
            return (Criteria) this;
        }

        public Criteria andOtStrFiveNotBetween(String value1, String value2) {
            addCriterion("OT_STR_FIVE not between", value1, value2, "otStrFive");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable{

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable{
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}